package org.example.myleet.p959;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(2 == solution.regionsBySlashes(new String[]{" /", "/ "}));
        Assert.isTrue(1 == solution.regionsBySlashes(new String[]{" /", "  "}));
        Assert.isTrue(4 == solution.regionsBySlashes(new String[]{"\\/", "/\\"}));
        Assert.isTrue(5 == solution.regionsBySlashes(new String[]{"/\\", "\\/"}));
    }
}
